package cn.xinfei.xdecision.common.model.decisionflow;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by maying on 2023/03/07.
 **/
@Data
public class NodeLinkReqVo {

	@ApiModelProperty(value = "开始节点id", required = true, example = "1")
	@NotNull(message = "开始节点id不能为空")
	private Long sourceNodeId;

	@ApiModelProperty(value = "目标节点id", required = true, example = "2")
	@NotNull(message = "目标节点id不能为空")
	private Long targetNodeId;

	@ApiModelProperty(value = "开始节点配置信息")
	private String sourceNodeJson;
}
